// 导入baseService
import { fetch } from '@/service/baseService';

// 用户登录
const loginApi = '/api/auth';
const getCurrentUserApi = '/api/user-center/user/loginInfo';                                 // 获取当前登录用户的信息    method 'GET'
/**
 * 列表
 */
export default {
  loginSave: (payload) => fetch.post(loginApi, payload),
  getCurrentUser: () => fetch.get(getCurrentUserApi)
};
